package com.li.youhappygo.service;

import com.github.pagehelper.PageInfo;
import com.li.youhappygo.model.dto.UserDto;
import com.li.youhappygo.model.dto.UserQueryParamDto;
import com.li.youhappygo.model.entity.user.Users;

public interface UserService {
    PageInfo<Users> getUserList(int pageNum, int pageSize);

    Users getUserInfoById(Integer id);

    void updateUserInfo(UserDto userDto);

    void deleteUser(Integer id);

    void addUser(Users users);

    PageInfo<Users> getByUserListByQueryParam(UserQueryParamDto userQueryParamDto, Integer pageSize, Integer pageNum);
}
